/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package net.dntuan.simplexmlbundle.model;

import java.util.Date;

import org.simpleframework.xml.Default;
import org.simpleframework.xml.DefaultType;
import org.simpleframework.xml.Root;

/**
 * 
 * @author tuandn
 */
@Root
@Default(DefaultType.FIELD)
public class Item {

    private String title;
    private String link;
    private String description;
    private String category;
    /*
     * Date in the form Thu, 21 Mar 2013 19:19:00 GMT
     */
    private Date pubDate;

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public Date getPubDate() {
        return pubDate;
    }

    public void setPubDate(Date pubDate) {
        this.pubDate = pubDate;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
